﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EM.BasePage
{
    class Utils
    {
        public static string ReadView(string fileName)
        {
            string path = System.AppDomain.CurrentDomain.BaseDirectory;
            string fileContent;
            using (System.IO.StreamReader Reader = new System.IO.StreamReader(path + "htm\\base\\" + fileName))
            {
                fileContent = Reader.ReadToEnd();
            }
            return fileContent;
        }
    }
}
